package etc.spec.ytt.week8.home.D2t;

public class Test {
    public static void main(String[] args){
        Feeder feeder=new Feeder();
        Animal animal=new Dog();
       Food food=new Bone("Bone");
      Feeder.feed(Animal,food);
      Animal=new Cat();
      food=new Fish("Fish");
      feeder.feed(Animal,food);

    }
}
